package DiErZhou.Day1;

public class Day1_8 {
    public static void main(String[] args) {
        int num;
        for ( num = 100; num < 999; num++) {
           int i = num / 100;
            int j = num % 100 / 10;
            int k = num % 10;
        if ( num == i * i * i + j * j * j + (k * k * k)){
            System.out.println("水仙花数： " + num);
        }
        }

    }
}
